import myAxios from "@/services/request";

/* 获取首页热门城市关键字数据的接口 */
export const getHotSuggestsAPI = () => {
    return myAxios({
        url: '/home/hotSuggests',
        method: 'GET'
    })

}

/* 获取首页热门分类数据的接口 */
export const getHotCategoryAPI = () => {
    return myAxios({
        url: '/home/categories',
        method: 'GET'
    })

}

/* 获取首页房间数据的接口 */
export const getHouseListAPI = (listPage) => {
    return myAxios({
        url: '/home/houselist',
        method: 'GET',
        params: {
            page: listPage,
        }
    })

}